package net.coding.bamboo.wex.mq.processor.impl;

import net.coding.bamboo.wex.mq.model.InputMessage;
import net.coding.bamboo.wex.mq.processor.MessageProcessor;
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
import org.springframework.stereotype.Component;

/**
 * @author : zenghua
 * @version : v0.1 DefaultMessageProcessor.java
 * @since : 2017/7/14 15:32
 */
@Component
public class DefaultMessageProcessor implements MessageProcessor {
    @Override
    public void process(InputMessage inputMessage) {
        System.out.println("DefaultMessageProcessor：" + ReflectionToStringBuilder.toString(inputMessage));
    }
}
